import React from "react";
import { Input } from "antd";


const { Search } = Input;
const onSearch = (value, _e, info) => console.log(info?.source, value);

const SearchBox = () => {
    
  return (
    <Search
      placeholder="请输入..."
      allowClear
      enterButton="搜索"
      size="large"
      onSearch={onSearch}
    />
  );
};

export default SearchBox;